<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>HIS hospital info</title>

    <link rel="stylesheet" type="text/css" href="../lib/jquery-easyui-1.4.2/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../lib/jquery-easyui-1.4.2/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../lib/jquery-easyui-1.4.2/demo/demo.css">
    <script type="text/javascript" src="../lib/jquery-easyui-1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="../lib/jquery-easyui-1.4.2/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../lib/jquery-easyui-1.4.2/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript">
        var body_w = $("body").width();
    </script>
</head>
<body>
    <div id="id_dailyList">
        <div class="datagrid-toolbar">
            <a href="#" id="btn-ps" class="easyui-linkbutton" iconCls="icon-print" onclick="">打印</a>
            <a href="#" id="btn-undo" class="easyui-linkbutton" iconCls="icon-undo">返回</a>
        </div>
        <div id="id_layout" class="easyui-layout">
            <div data-options="region:'center'" style="height:50px;">111</div>
            <div data-options="region:'east',split:false" style="height:50px;width:50px;">2222</div>
        </div>
    </div>
</body>
<script type="text/javascript">


    $(function(){
        $("#id_dailyList").panel({
            width: "100%",
            height: "100%",
            title:'日清维护界面',
            border: false,
            closable:true,
            onClose: function(){
                history.back()
                //window.history.back();
            }
        });
        var panel_w = $("#id_dailyList").width();
        var panel_h = $("#id_dailyList").height();
        console.log("panel_w", panel_w);
        console.log("panel_h", panel_h);
        $("#id_layout").css({'width':panel_w+'px','height':'500px'});
    });
</script>
</html>